<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="true">
  <head>    
    <title>司机信息详细页面</title>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>  
  <body>
	<div id="content">
					<p align="center">司机信息</p>
				  	<table align="center">
				  		<tr>
				  			<td>姓名：</td>
				  			<td><s:property value="driver.driver" /></td>
				  		</tr>
				  		<tr>
				  			<td>身份证号：</td>
				  			<td><s:property value="driver.idCardNo" /></td>
				  		</tr>
				  		<tr>
				  			<td>性别：</td>
			  				<td>
			  					<s:set name="sex" value="driver.sex"/>
									<s:if test="#sex == 0">男</s:if>
			  						<s:else>女</s:else>
			  				</td>
				  		</tr>
				  		<tr>
				  			<td>电话：</td>
				  			<td>
				  				<s:property value="driver.telephone" />
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>出生日期：</td>
				  			<td>
				  				<s:property value="birthday"/>
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>地址：</td>
				  			<td>
				  				<s:property value ="driver.address" />
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>驾照类型：</td>
				  			<td>
				  				<s:property value="selectIds"/>
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>司机状态：</td>
				  			<td>
				  				<s:property value ="driver.state"/>
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>驾照有效起始日期:</td>
				  			<td>
				  				<s:property value="validFrom"/>
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>驾照有效期:</td>
				  			<td>
								<s:property value="driver.validPeriod"/>年
				  			</td>
				  		</tr>				  		
				  	</table>
					
				</div>
  </body>
</html>
